package createModel.BuilderModel.directorBuilderPlayers02.convert;

import createModel.BuilderModel.directorBuilderPlayers02.AbstaractBasicConfigBuilder;
import createModel.BuilderModel.directorBuilderPlayers02.pojo.TeacherDto;

public class TeacherDtoConvertBasicConfig implements Convert<TeacherDto>{
    @Override
    public void apply(AbstaractBasicConfigBuilder builder,
                      TeacherDto source) throws Exception {

        builder.buildEmissionFactorName(source.getTeacherName());
        builder.buildDataValue(source.getDataValue());
    }
}
